package com.zj.study.config;

import com.zj.study.annotation.BeanLog;
import com.zj.study.service.UserService;
import com.zj.study.service.impl.UserServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;

/**
 * @author 赵赳
 * @since 2021/12/9 20:22
 */
@Slf4j
public class UserServiceConfiguration {


    @Bean
    @BeanLog
    public UserService userService(){
        return new UserServiceImpl();
    }

}
